﻿using UnityEngine;
using System.Collections;
/// <summary>
/// class for my bow and all its actions Inheritance
/// </summary>
public class Bow : Weapon
{
	public GameObject m_Arrows;
	private GameObject m_Target;
	private Arrow[] m_Arrow;

	void Start () 
	{
	
	}
	

	void Update () 
	{
	
	}
	
	public override void Attack()
	{
		//m_Arrows = new Arrow();
		//m_Arrows = Instantiate(m_Arrows,transform.position,Quaternion.identity)as GameObject;
	   
		
		Debug.Log("attack in Bow");	
	}
	protected override void OnTriggerEnter2D(Collider2D _other)
	{
		base.OnTriggerEnter2D(_other);
		Debug.Log ("Outch");
	}
}
